package responsibility.practice_02;

/**
 * @author yi qiang
 * @date 2021/6/21 22:04
 */
public class PurchaseRequest {
    private int type;

    private float price=0.0f;

    private int id=0;

    public PurchaseRequest(int type, float price, int id) {
        this.type = type;
        this.price = price;
        this.id = id;
    }

    public int getType() {
        return type;
    }

    public float getPrice() {
        return price;
    }

    public int getId() {
        return id;
    }
}
